package com.lm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lm.pojo.*;
import com.lm.pojo.Resident;
import com.lm.pojo.ResidentAndHealth;
import com.lm.pojo.SearchResident;
import com.lm.pojo.Tag;
import com.lm.pojo.*;

import java.util.List;

public interface ResidentService {

    IPage<Resident> findResidentList(SearchResident searchResident);

    void addHalfResident(Resident resident);

    void addResident(ResidentAndHealth resident);

    List<Resident> findResidentName(String name);

    List<Tag> findTags();

    void changeStatus(Integer residentId, Integer status);

    ResidentAndHealth findResidentById(Integer residentId);

    List<ResidentChatList> findResident(Integer residentId);

    void saveChange(ResidentAndHealth residentAndHealth);

    void deleteResident(Integer residentId);
}
